package com.soyotec.algorithm.enums;

/**
 * 执行状态枚举
 */
public enum RbaExecutionStatusEnum {
    WRITE_DESIGN_VARIABLES(1,"生成设计变量"),//开始发送设计变量
    SUB_PROCESS_COMPUTED(2,"子流程计算完毕"),//开始发送计算结果
    ALGORITHM_RUN_COMPUTED(3,"算法执行完毕"),
    WRITE_DESIGN_VARIABLES_END(4,"生成设计变量完毕"),
    SEND_OBJECTIVES_BEGIN(5,"发送目标"),
    SEND_OBJECTIVES_END(6,"发送目标完毕"),
    SEND_CONSTRAINTS_BEGIN(7,"发送约束开始"),
    SEND_CONSTRAINTS_END(8,"发送约束完成"),
    SEND_RESULT_END(9,"子流程计算结果发送完毕"),
    SEND_END(10,"完毕");
    private Integer code;
    private String title;

    private RbaExecutionStatusEnum(Integer code, String title){
        this.code = code;
        this.title = title;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
